package org.wsocket;

import org.wsocket.connector.Connector;
import org.wsocket.message.Message;

public interface Listener {
	public boolean checkKey(String authKey);
	public void onConnect(Connector connector);
	public void onMessage(Message message); 
	public void onClose(String connectorKey);
	public void onTimeOut(String connectorKey);
}
